
<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<%@ include file="/common/meta.jsp"%>
	<title>常州科教城管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/css.css"/>
	<style>
	body{ 
	font-family: "宋体", Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
html {
	
	}
a {
	font-size: 12px;
	color: #7c7c7a;
}
a:link {
	text-decoration: none;
	color: #7c7c7a;
}
a:visited {
	text-decoration: none;
	color: #7c7c7a;
}
a:hover {
	text-decoration: none;
	color: #006699;
}
a:active {
	text-decoration: none;
	color:#006699;
}
 a{blr:expression(this.onFocus=this.blur())} 
*{ margin:0px; padding:0px; list-style:none; font-size:12px}
	
.workbox{ float:left; width:98%; overflow:hidden; margin-left:5px; margin-top:3px; }
.workbox .title{ background:url(images/skin0/index/rightbox_title.png) repeat-x; height:23px}
.workbox .title .left_t{ float:left; background:url(images/skin0/index/rightbox_title_l.png) no-repeat; height:23px; width:20px;}
.workbox .title .center_t{ float:left; height:23px; line-height:23px; background:url(images/skin0/index/ico.gif) no-repeat 0px 6px; padding-left:15px}
.workbox .title .right_t{ float:right; background:url(images/skin0/index/rightbox_title_r.png) right top no-repeat; height:23px; width:50px;}
.workbox .title .right_t img{ margin-top:5px}
.workbox .neirong{ border:1pt solid #71a6e8; background:url(images/skin0/index/r_box_bg.png) bottom left repeat-x; }
.workbox .neirong ul{width:100%; margin:0px auto}
.workbox .neirong ul li{ background:url(images/skin0/index/line.gif) repeat-x left bottom; height:23px; line-height:23px}
.workbox .neirong ul li span{ float:right; color:#999999; padding-right:5px}
.workbox .neirong ul li a{ float:left; overflow:hidden; background:url(images/skin0/index/icon.gif) no-repeat 4px 8px ; padding-left:15px}
.workbox_big{ float:left; width:97%; overflow:hidden; margin-left:5px; margin-top:3px;  }
.workbox_big .title{ background:url(images/skin0/index/title_bg.png) repeat-x; height:28px; margin-right:4px}
.workbox_big .title .left_t{ float:left; background:url(images/skin0/index/title_left.png) no-repeat;line-height:28px; height:28px; width:200px; color:#fff; font-weight:700; padding-left:20px}
.workbox_big .title .right_t{ float:right; background:url(images/skin0/index/title_right.png) right top no-repeat; height:28px; width:50px;}
.workbox_big .title .right_t img{ margin-top:6px}
.workbox_big .neirong{ border:1pt solid #71a6e8; border-top:0px; background:url(images/skin0/index/r_box_bg.png) bottom left repeat-x; height:230px;margin-right:4px;margin-bottom:3px}
.workbox_big .neirong table th{ font-size:12px; text-align:center; font-weight:lighter; color:#0f2a3d; background:url(images/skin0/index/table_th.png) no-repeat top right; height:28px; line-height:28px}
.workbox_big .neirong table td{ text-align:center; line-height:19px; height:19px; border-bottom:1pt solid #cfe3ee; border-right:1pt solid #cfe3ee; padding:3px}
	
	</style>
</head>

<body style="overflow:auto;">
<input type="hidden"  id='q_mtodm' value="${xtuser.loginname}">
    <div class="workbox">
      <div class="title">
          <div class="left_t"></div>
          <div class="center_t">通知通告</div>
          <div class="right_t"><a href="#"><img src="images/skin0/index/more1.png" border="0"/></a></div>
      </div>
      <div class="neirong" id="xxzg">
      
      </div>
    </div>
</body>
<script>
	
	$('xxzg').style.height = document.body.clientHeight-50 ;
	loadList();
	function loadList(start){
		var ajax = new AppAjax("xxgl!queryIndex.do",q_callback);
			ajax.submit();	
	}
	function q_callback(data){
			var xxzgList = data.xxzgList;
			var str = new StringBuffer();
			for(var i=0;i<xxzgList.length;i++){
				var d = xxzgList[i];
				str.append('<li><span>'+d.rq+'</span><a href="#" onclick=showXxzg("'+d.xxid+'")>'+getBt(d.xxbt)+'</a></li>');			
			
			}
			$("xxzg").update("<ul>"+str.toString()+"</ul>");//信息撰稿
		}
		
	function getBt(val){
		if(val.length>20){
			return val.substring(0,20)+"…";
		}
		return val;
	}
	
	function showXxzg(xxid){
		
		var newwin = window.open("xxgl!showXxzg.do?parMap.xxid="+xxid);
		 //openWin("xxgl!showXxzg.do?parMap.xxid="+xxid,"650","600");
	}

</script>
</html>